﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PTTK_HTTT_06.DAO;

namespace PTTK_HTTT_06.BUS
{
    public class CONG_THUC
    {
        public int MaMonAn { get; set; }
        public int MaNguyenLieu { get; set; }
        public float SoLuong { get; set; }

        public static List<CONG_THUC> LayCongThuc(int _maMonAn)
        {
            return CONG_THUC_DB.LayCongThuc(_maMonAn);
        }

        public static void ThemCongThuc(CONG_THUC _CT)
        {
            CONG_THUC_DB.ThemCongThuc(_CT);
        }
    }
}
